<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="dfareporting_v5.html">Campaign Manager 360 API</a> . <a href="dfareporting_v5.floodlightActivities.html">floodlightActivities</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#delete">delete(profileId, id, x__xgafv=None)</a></code></p>
<p class="firstline">Deletes an existing floodlight activity.</p>
<p class="toc_element">
  <code><a href="#generatetag">generatetag(profileId, floodlightActivityId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Generates a tag for a floodlight activity.</p>
<p class="toc_element">
  <code><a href="#get">get(profileId, id, x__xgafv=None)</a></code></p>
<p class="firstline">Gets one floodlight activity by ID.</p>
<p class="toc_element">
  <code><a href="#insert">insert(profileId, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Inserts a new floodlight activity.</p>
<p class="toc_element">
  <code><a href="#list">list(profileId, advertiserId=None, floodlightActivityGroupIds=None, floodlightActivityGroupName=None, floodlightActivityGroupTagString=None, floodlightActivityGroupType=None, floodlightConfigurationId=None, ids=None, maxResults=None, pageToken=None, searchString=None, sortField=None, sortOrder=None, tagString=None, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves a list of floodlight activities, possibly filtered. This method supports paging.</p>
<p class="toc_element">
  <code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
  <code><a href="#patch">patch(profileId, id, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates an existing floodlight activity. This method supports patch semantics.</p>
<p class="toc_element">
  <code><a href="#update">update(profileId, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates an existing floodlight activity.</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="delete">delete(profileId, id, x__xgafv=None)</code>
  <pre>Deletes an existing floodlight activity.

Args:
  profileId: string, User profile ID associated with this request. (required)
  id: string, Floodlight activity ID. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format
</pre>
</div>

<div class="method">
    <code class="details" id="generatetag">generatetag(profileId, floodlightActivityId=None, x__xgafv=None)</code>
  <pre>Generates a tag for a floodlight activity.

Args:
  profileId: string, User profile ID associated with this request. (required)
  floodlightActivityId: string, Floodlight activity ID for which we want to generate a tag.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Floodlight Activity GenerateTag Response
  &quot;floodlightActivityTag&quot;: &quot;A String&quot;, # Generated tag for this Floodlight activity. For Google tags, this is the event snippet.
  &quot;globalSiteTagGlobalSnippet&quot;: &quot;A String&quot;, # The global snippet section of a Google tag. The Google tag sets new cookies on your domain, which will store a unique identifier for a user or the ad click that brought the user to your site. Learn more.
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#floodlightActivitiesGenerateTagResponse&quot;.
}</pre>
</div>

<div class="method">
    <code class="details" id="get">get(profileId, id, x__xgafv=None)</code>
  <pre>Gets one floodlight activity by ID.

Args:
  profileId: string, User profile ID associated with this request. (required)
  id: string, Floodlight activity ID. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Contains properties of a Floodlight activity.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this floodlight activity. This is a read-only field that can be left blank.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group&#x27;s advertiser or the existing activity&#x27;s advertiser.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;attributionEnabled&quot;: True or False, # Whether the activity is enabled for attribution.
  &quot;cacheBustingType&quot;: &quot;A String&quot;, # Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING.
  &quot;conversionCategory&quot;: &quot;A String&quot;, # Required. The conversion category of the activity.
  &quot;countingMethod&quot;: &quot;A String&quot;, # Counting method for conversions for this floodlight activity. This is a required field.
  &quot;defaultTags&quot;: [ # Dynamic floodlight tags.
    { # Dynamic Tag
      &quot;id&quot;: &quot;A String&quot;, # ID of this dynamic tag. This is a read-only, auto-generated field.
      &quot;name&quot;: &quot;A String&quot;, # Name of this tag.
      &quot;tag&quot;: &quot;A String&quot;, # Tag code.
    },
  ],
  &quot;expectedUrl&quot;: &quot;A String&quot;, # URL where this tag will be deployed. If specified, must be less than 256 characters long.
  &quot;floodlightActivityGroupId&quot;: &quot;A String&quot;, # Floodlight activity group ID of this floodlight activity. This is a required field.
  &quot;floodlightActivityGroupName&quot;: &quot;A String&quot;, # Name of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightActivityGroupTagString&quot;: &quot;A String&quot;, # Tag string of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightActivityGroupType&quot;: &quot;A String&quot;, # Type of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightConfigurationId&quot;: &quot;A String&quot;, # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group&#x27;s floodlight configuration or from the existing activity&#x27;s floodlight configuration.
  &quot;floodlightConfigurationIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;floodlightTagType&quot;: &quot;A String&quot;, # The type of Floodlight tag this activity will generate. This is a required field.
  &quot;id&quot;: &quot;A String&quot;, # ID of this floodlight activity. This is a read-only, auto-generated field.
  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#floodlightActivity&quot;.
  &quot;name&quot;: &quot;A String&quot;, # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.
  &quot;notes&quot;: &quot;A String&quot;, # General notes or implementation instructions for the tag.
  &quot;publisherTags&quot;: [ # Publisher dynamic floodlight tags.
    { # Publisher Dynamic Tag
      &quot;clickThrough&quot;: True or False, # Whether this tag is applicable only for click-throughs.
      &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.
      &quot;dynamicTag&quot;: { # Dynamic Tag # Dynamic floodlight tag.
        &quot;id&quot;: &quot;A String&quot;, # ID of this dynamic tag. This is a read-only, auto-generated field.
        &quot;name&quot;: &quot;A String&quot;, # Name of this tag.
        &quot;tag&quot;: &quot;A String&quot;, # Tag code.
      },
      &quot;siteId&quot;: &quot;A String&quot;, # Site ID of this dynamic tag.
      &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
        &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
        &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
        &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
        &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
        &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
        &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
      },
      &quot;viewThrough&quot;: True or False, # Whether this tag is applicable only for view-throughs.
    },
  ],
  &quot;secure&quot;: True or False, # Whether this tag should use SSL.
  &quot;sslCompliant&quot;: True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.
  &quot;sslRequired&quot;: True or False, # Whether this floodlight activity must be SSL-compliant.
  &quot;status&quot;: &quot;A String&quot;, # The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information.
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.
  &quot;tagFormat&quot;: &quot;A String&quot;, # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.
  &quot;tagString&quot;: &quot;A String&quot;, # Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.
  &quot;userDefinedVariableTypes&quot;: [ # List of the user-defined variables used by this conversion tag. These map to the &quot;u[1-100]=&quot; in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive.
    &quot;A String&quot;,
  ],
}</pre>
</div>

<div class="method">
    <code class="details" id="insert">insert(profileId, body=None, x__xgafv=None)</code>
  <pre>Inserts a new floodlight activity.

Args:
  profileId: string, User profile ID associated with this request. (required)
  body: object, The request body.
    The object takes the form of:

{ # Contains properties of a Floodlight activity.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this floodlight activity. This is a read-only field that can be left blank.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group&#x27;s advertiser or the existing activity&#x27;s advertiser.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;attributionEnabled&quot;: True or False, # Whether the activity is enabled for attribution.
  &quot;cacheBustingType&quot;: &quot;A String&quot;, # Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING.
  &quot;conversionCategory&quot;: &quot;A String&quot;, # Required. The conversion category of the activity.
  &quot;countingMethod&quot;: &quot;A String&quot;, # Counting method for conversions for this floodlight activity. This is a required field.
  &quot;defaultTags&quot;: [ # Dynamic floodlight tags.
    { # Dynamic Tag
      &quot;id&quot;: &quot;A String&quot;, # ID of this dynamic tag. This is a read-only, auto-generated field.
      &quot;name&quot;: &quot;A String&quot;, # Name of this tag.
      &quot;tag&quot;: &quot;A String&quot;, # Tag code.
    },
  ],
  &quot;expectedUrl&quot;: &quot;A String&quot;, # URL where this tag will be deployed. If specified, must be less than 256 characters long.
  &quot;floodlightActivityGroupId&quot;: &quot;A String&quot;, # Floodlight activity group ID of this floodlight activity. This is a required field.
  &quot;floodlightActivityGroupName&quot;: &quot;A String&quot;, # Name of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightActivityGroupTagString&quot;: &quot;A String&quot;, # Tag string of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightActivityGroupType&quot;: &quot;A String&quot;, # Type of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightConfigurationId&quot;: &quot;A String&quot;, # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group&#x27;s floodlight configuration or from the existing activity&#x27;s floodlight configuration.
  &quot;floodlightConfigurationIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;floodlightTagType&quot;: &quot;A String&quot;, # The type of Floodlight tag this activity will generate. This is a required field.
  &quot;id&quot;: &quot;A String&quot;, # ID of this floodlight activity. This is a read-only, auto-generated field.
  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#floodlightActivity&quot;.
  &quot;name&quot;: &quot;A String&quot;, # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.
  &quot;notes&quot;: &quot;A String&quot;, # General notes or implementation instructions for the tag.
  &quot;publisherTags&quot;: [ # Publisher dynamic floodlight tags.
    { # Publisher Dynamic Tag
      &quot;clickThrough&quot;: True or False, # Whether this tag is applicable only for click-throughs.
      &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.
      &quot;dynamicTag&quot;: { # Dynamic Tag # Dynamic floodlight tag.
        &quot;id&quot;: &quot;A String&quot;, # ID of this dynamic tag. This is a read-only, auto-generated field.
        &quot;name&quot;: &quot;A String&quot;, # Name of this tag.
        &quot;tag&quot;: &quot;A String&quot;, # Tag code.
      },
      &quot;siteId&quot;: &quot;A String&quot;, # Site ID of this dynamic tag.
      &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
        &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
        &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
        &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
        &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
        &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
        &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
      },
      &quot;viewThrough&quot;: True or False, # Whether this tag is applicable only for view-throughs.
    },
  ],
  &quot;secure&quot;: True or False, # Whether this tag should use SSL.
  &quot;sslCompliant&quot;: True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.
  &quot;sslRequired&quot;: True or False, # Whether this floodlight activity must be SSL-compliant.
  &quot;status&quot;: &quot;A String&quot;, # The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information.
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.
  &quot;tagFormat&quot;: &quot;A String&quot;, # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.
  &quot;tagString&quot;: &quot;A String&quot;, # Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.
  &quot;userDefinedVariableTypes&quot;: [ # List of the user-defined variables used by this conversion tag. These map to the &quot;u[1-100]=&quot; in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive.
    &quot;A String&quot;,
  ],
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Contains properties of a Floodlight activity.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this floodlight activity. This is a read-only field that can be left blank.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group&#x27;s advertiser or the existing activity&#x27;s advertiser.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;attributionEnabled&quot;: True or False, # Whether the activity is enabled for attribution.
  &quot;cacheBustingType&quot;: &quot;A String&quot;, # Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING.
  &quot;conversionCategory&quot;: &quot;A String&quot;, # Required. The conversion category of the activity.
  &quot;countingMethod&quot;: &quot;A String&quot;, # Counting method for conversions for this floodlight activity. This is a required field.
  &quot;defaultTags&quot;: [ # Dynamic floodlight tags.
    { # Dynamic Tag
      &quot;id&quot;: &quot;A String&quot;, # ID of this dynamic tag. This is a read-only, auto-generated field.
      &quot;name&quot;: &quot;A String&quot;, # Name of this tag.
      &quot;tag&quot;: &quot;A String&quot;, # Tag code.
    },
  ],
  &quot;expectedUrl&quot;: &quot;A String&quot;, # URL where this tag will be deployed. If specified, must be less than 256 characters long.
  &quot;floodlightActivityGroupId&quot;: &quot;A String&quot;, # Floodlight activity group ID of this floodlight activity. This is a required field.
  &quot;floodlightActivityGroupName&quot;: &quot;A String&quot;, # Name of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightActivityGroupTagString&quot;: &quot;A String&quot;, # Tag string of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightActivityGroupType&quot;: &quot;A String&quot;, # Type of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightConfigurationId&quot;: &quot;A String&quot;, # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group&#x27;s floodlight configuration or from the existing activity&#x27;s floodlight configuration.
  &quot;floodlightConfigurationIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;floodlightTagType&quot;: &quot;A String&quot;, # The type of Floodlight tag this activity will generate. This is a required field.
  &quot;id&quot;: &quot;A String&quot;, # ID of this floodlight activity. This is a read-only, auto-generated field.
  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#floodlightActivity&quot;.
  &quot;name&quot;: &quot;A String&quot;, # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.
  &quot;notes&quot;: &quot;A String&quot;, # General notes or implementation instructions for the tag.
  &quot;publisherTags&quot;: [ # Publisher dynamic floodlight tags.
    { # Publisher Dynamic Tag
      &quot;clickThrough&quot;: True or False, # Whether this tag is applicable only for click-throughs.
      &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.
      &quot;dynamicTag&quot;: { # Dynamic Tag # Dynamic floodlight tag.
        &quot;id&quot;: &quot;A String&quot;, # ID of this dynamic tag. This is a read-only, auto-generated field.
        &quot;name&quot;: &quot;A String&quot;, # Name of this tag.
        &quot;tag&quot;: &quot;A String&quot;, # Tag code.
      },
      &quot;siteId&quot;: &quot;A String&quot;, # Site ID of this dynamic tag.
      &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
        &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
        &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
        &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
        &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
        &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
        &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
      },
      &quot;viewThrough&quot;: True or False, # Whether this tag is applicable only for view-throughs.
    },
  ],
  &quot;secure&quot;: True or False, # Whether this tag should use SSL.
  &quot;sslCompliant&quot;: True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.
  &quot;sslRequired&quot;: True or False, # Whether this floodlight activity must be SSL-compliant.
  &quot;status&quot;: &quot;A String&quot;, # The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information.
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.
  &quot;tagFormat&quot;: &quot;A String&quot;, # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.
  &quot;tagString&quot;: &quot;A String&quot;, # Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.
  &quot;userDefinedVariableTypes&quot;: [ # List of the user-defined variables used by this conversion tag. These map to the &quot;u[1-100]=&quot; in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive.
    &quot;A String&quot;,
  ],
}</pre>
</div>

<div class="method">
    <code class="details" id="list">list(profileId, advertiserId=None, floodlightActivityGroupIds=None, floodlightActivityGroupName=None, floodlightActivityGroupTagString=None, floodlightActivityGroupType=None, floodlightConfigurationId=None, ids=None, maxResults=None, pageToken=None, searchString=None, sortField=None, sortOrder=None, tagString=None, x__xgafv=None)</code>
  <pre>Retrieves a list of floodlight activities, possibly filtered. This method supports paging.

Args:
  profileId: string, User profile ID associated with this request. (required)
  advertiserId: string, Select only floodlight activities for the specified advertiser ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.
  floodlightActivityGroupIds: string, Select only floodlight activities with the specified floodlight activity group IDs. (repeated)
  floodlightActivityGroupName: string, Select only floodlight activities with the specified floodlight activity group name.
  floodlightActivityGroupTagString: string, Select only floodlight activities with the specified floodlight activity group tag string.
  floodlightActivityGroupType: string, Select only floodlight activities with the specified floodlight activity group type.
    Allowed values
      COUNTER - 
      SALE - 
  floodlightConfigurationId: string, Select only floodlight activities for the specified floodlight configuration ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.
  ids: string, Select only floodlight activities with the specified IDs. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result. (repeated)
  maxResults: integer, Maximum number of results to return.
  pageToken: string, Value of the nextPageToken from the previous result page.
  searchString: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, &quot;floodlightactivity*2015&quot; will return objects with names like &quot;floodlightactivity June 2015&quot;, &quot;floodlightactivity April 2015&quot;, or simply &quot;floodlightactivity 2015&quot;. Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of &quot;floodlightactivity&quot; will match objects with name &quot;my floodlightactivity activity&quot;, &quot;floodlightactivity 2015&quot;, or simply &quot;floodlightactivity&quot;.
  sortField: string, Field by which to sort the list.
    Allowed values
      ID - 
      NAME - 
  sortOrder: string, Order of sorted results.
    Allowed values
      ASCENDING - Ascending order.
      DESCENDING - Descending order.
  tagString: string, Select only floodlight activities with the specified tag string.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Floodlight Activity List Response
  &quot;floodlightActivities&quot;: [ # Floodlight activity collection.
    { # Contains properties of a Floodlight activity.
      &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this floodlight activity. This is a read-only field that can be left blank.
      &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group&#x27;s advertiser or the existing activity&#x27;s advertiser.
      &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
        &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
        &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
        &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
        &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
        &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
        &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
      },
      &quot;attributionEnabled&quot;: True or False, # Whether the activity is enabled for attribution.
      &quot;cacheBustingType&quot;: &quot;A String&quot;, # Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING.
      &quot;conversionCategory&quot;: &quot;A String&quot;, # Required. The conversion category of the activity.
      &quot;countingMethod&quot;: &quot;A String&quot;, # Counting method for conversions for this floodlight activity. This is a required field.
      &quot;defaultTags&quot;: [ # Dynamic floodlight tags.
        { # Dynamic Tag
          &quot;id&quot;: &quot;A String&quot;, # ID of this dynamic tag. This is a read-only, auto-generated field.
          &quot;name&quot;: &quot;A String&quot;, # Name of this tag.
          &quot;tag&quot;: &quot;A String&quot;, # Tag code.
        },
      ],
      &quot;expectedUrl&quot;: &quot;A String&quot;, # URL where this tag will be deployed. If specified, must be less than 256 characters long.
      &quot;floodlightActivityGroupId&quot;: &quot;A String&quot;, # Floodlight activity group ID of this floodlight activity. This is a required field.
      &quot;floodlightActivityGroupName&quot;: &quot;A String&quot;, # Name of the associated floodlight activity group. This is a read-only field.
      &quot;floodlightActivityGroupTagString&quot;: &quot;A String&quot;, # Tag string of the associated floodlight activity group. This is a read-only field.
      &quot;floodlightActivityGroupType&quot;: &quot;A String&quot;, # Type of the associated floodlight activity group. This is a read-only field.
      &quot;floodlightConfigurationId&quot;: &quot;A String&quot;, # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group&#x27;s floodlight configuration or from the existing activity&#x27;s floodlight configuration.
      &quot;floodlightConfigurationIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
        &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
        &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
        &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
        &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
        &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
        &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
      },
      &quot;floodlightTagType&quot;: &quot;A String&quot;, # The type of Floodlight tag this activity will generate. This is a required field.
      &quot;id&quot;: &quot;A String&quot;, # ID of this floodlight activity. This is a read-only, auto-generated field.
      &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field.
        &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
        &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
        &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
        &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
        &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
        &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
      },
      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#floodlightActivity&quot;.
      &quot;name&quot;: &quot;A String&quot;, # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.
      &quot;notes&quot;: &quot;A String&quot;, # General notes or implementation instructions for the tag.
      &quot;publisherTags&quot;: [ # Publisher dynamic floodlight tags.
        { # Publisher Dynamic Tag
          &quot;clickThrough&quot;: True or False, # Whether this tag is applicable only for click-throughs.
          &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.
          &quot;dynamicTag&quot;: { # Dynamic Tag # Dynamic floodlight tag.
            &quot;id&quot;: &quot;A String&quot;, # ID of this dynamic tag. This is a read-only, auto-generated field.
            &quot;name&quot;: &quot;A String&quot;, # Name of this tag.
            &quot;tag&quot;: &quot;A String&quot;, # Tag code.
          },
          &quot;siteId&quot;: &quot;A String&quot;, # Site ID of this dynamic tag.
          &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
            &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
            &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
            &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
            &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
            &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
            &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
          },
          &quot;viewThrough&quot;: True or False, # Whether this tag is applicable only for view-throughs.
        },
      ],
      &quot;secure&quot;: True or False, # Whether this tag should use SSL.
      &quot;sslCompliant&quot;: True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.
      &quot;sslRequired&quot;: True or False, # Whether this floodlight activity must be SSL-compliant.
      &quot;status&quot;: &quot;A String&quot;, # The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information.
      &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.
      &quot;tagFormat&quot;: &quot;A String&quot;, # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.
      &quot;tagString&quot;: &quot;A String&quot;, # Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.
      &quot;userDefinedVariableTypes&quot;: [ # List of the user-defined variables used by this conversion tag. These map to the &quot;u[1-100]=&quot; in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive.
        &quot;A String&quot;,
      ],
    },
  ],
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#floodlightActivitiesListResponse&quot;.
  &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to be used for the next list operation.
}</pre>
</div>

<div class="method">
    <code class="details" id="list_next">list_next()</code>
  <pre>Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call &#x27;execute()&#x27; on to request the next
          page. Returns None if there are no more items in the collection.
        </pre>
</div>

<div class="method">
    <code class="details" id="patch">patch(profileId, id, body=None, x__xgafv=None)</code>
  <pre>Updates an existing floodlight activity. This method supports patch semantics.

Args:
  profileId: string, User profile ID associated with this request. (required)
  id: string, Required. EventTag ID. (required)
  body: object, The request body.
    The object takes the form of:

{ # Contains properties of a Floodlight activity.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this floodlight activity. This is a read-only field that can be left blank.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group&#x27;s advertiser or the existing activity&#x27;s advertiser.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;attributionEnabled&quot;: True or False, # Whether the activity is enabled for attribution.
  &quot;cacheBustingType&quot;: &quot;A String&quot;, # Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING.
  &quot;conversionCategory&quot;: &quot;A String&quot;, # Required. The conversion category of the activity.
  &quot;countingMethod&quot;: &quot;A String&quot;, # Counting method for conversions for this floodlight activity. This is a required field.
  &quot;defaultTags&quot;: [ # Dynamic floodlight tags.
    { # Dynamic Tag
      &quot;id&quot;: &quot;A String&quot;, # ID of this dynamic tag. This is a read-only, auto-generated field.
      &quot;name&quot;: &quot;A String&quot;, # Name of this tag.
      &quot;tag&quot;: &quot;A String&quot;, # Tag code.
    },
  ],
  &quot;expectedUrl&quot;: &quot;A String&quot;, # URL where this tag will be deployed. If specified, must be less than 256 characters long.
  &quot;floodlightActivityGroupId&quot;: &quot;A String&quot;, # Floodlight activity group ID of this floodlight activity. This is a required field.
  &quot;floodlightActivityGroupName&quot;: &quot;A String&quot;, # Name of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightActivityGroupTagString&quot;: &quot;A String&quot;, # Tag string of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightActivityGroupType&quot;: &quot;A String&quot;, # Type of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightConfigurationId&quot;: &quot;A String&quot;, # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group&#x27;s floodlight configuration or from the existing activity&#x27;s floodlight configuration.
  &quot;floodlightConfigurationIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;floodlightTagType&quot;: &quot;A String&quot;, # The type of Floodlight tag this activity will generate. This is a required field.
  &quot;id&quot;: &quot;A String&quot;, # ID of this floodlight activity. This is a read-only, auto-generated field.
  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#floodlightActivity&quot;.
  &quot;name&quot;: &quot;A String&quot;, # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.
  &quot;notes&quot;: &quot;A String&quot;, # General notes or implementation instructions for the tag.
  &quot;publisherTags&quot;: [ # Publisher dynamic floodlight tags.
    { # Publisher Dynamic Tag
      &quot;clickThrough&quot;: True or False, # Whether this tag is applicable only for click-throughs.
      &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.
      &quot;dynamicTag&quot;: { # Dynamic Tag # Dynamic floodlight tag.
        &quot;id&quot;: &quot;A String&quot;, # ID of this dynamic tag. This is a read-only, auto-generated field.
        &quot;name&quot;: &quot;A String&quot;, # Name of this tag.
        &quot;tag&quot;: &quot;A String&quot;, # Tag code.
      },
      &quot;siteId&quot;: &quot;A String&quot;, # Site ID of this dynamic tag.
      &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
        &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
        &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
        &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
        &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
        &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
        &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
      },
      &quot;viewThrough&quot;: True or False, # Whether this tag is applicable only for view-throughs.
    },
  ],
  &quot;secure&quot;: True or False, # Whether this tag should use SSL.
  &quot;sslCompliant&quot;: True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.
  &quot;sslRequired&quot;: True or False, # Whether this floodlight activity must be SSL-compliant.
  &quot;status&quot;: &quot;A String&quot;, # The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information.
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.
  &quot;tagFormat&quot;: &quot;A String&quot;, # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.
  &quot;tagString&quot;: &quot;A String&quot;, # Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.
  &quot;userDefinedVariableTypes&quot;: [ # List of the user-defined variables used by this conversion tag. These map to the &quot;u[1-100]=&quot; in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive.
    &quot;A String&quot;,
  ],
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Contains properties of a Floodlight activity.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this floodlight activity. This is a read-only field that can be left blank.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group&#x27;s advertiser or the existing activity&#x27;s advertiser.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;attributionEnabled&quot;: True or False, # Whether the activity is enabled for attribution.
  &quot;cacheBustingType&quot;: &quot;A String&quot;, # Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING.
  &quot;conversionCategory&quot;: &quot;A String&quot;, # Required. The conversion category of the activity.
  &quot;countingMethod&quot;: &quot;A String&quot;, # Counting method for conversions for this floodlight activity. This is a required field.
  &quot;defaultTags&quot;: [ # Dynamic floodlight tags.
    { # Dynamic Tag
      &quot;id&quot;: &quot;A String&quot;, # ID of this dynamic tag. This is a read-only, auto-generated field.
      &quot;name&quot;: &quot;A String&quot;, # Name of this tag.
      &quot;tag&quot;: &quot;A String&quot;, # Tag code.
    },
  ],
  &quot;expectedUrl&quot;: &quot;A String&quot;, # URL where this tag will be deployed. If specified, must be less than 256 characters long.
  &quot;floodlightActivityGroupId&quot;: &quot;A String&quot;, # Floodlight activity group ID of this floodlight activity. This is a required field.
  &quot;floodlightActivityGroupName&quot;: &quot;A String&quot;, # Name of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightActivityGroupTagString&quot;: &quot;A String&quot;, # Tag string of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightActivityGroupType&quot;: &quot;A String&quot;, # Type of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightConfigurationId&quot;: &quot;A String&quot;, # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group&#x27;s floodlight configuration or from the existing activity&#x27;s floodlight configuration.
  &quot;floodlightConfigurationIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;floodlightTagType&quot;: &quot;A String&quot;, # The type of Floodlight tag this activity will generate. This is a required field.
  &quot;id&quot;: &quot;A String&quot;, # ID of this floodlight activity. This is a read-only, auto-generated field.
  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#floodlightActivity&quot;.
  &quot;name&quot;: &quot;A String&quot;, # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.
  &quot;notes&quot;: &quot;A String&quot;, # General notes or implementation instructions for the tag.
  &quot;publisherTags&quot;: [ # Publisher dynamic floodlight tags.
    { # Publisher Dynamic Tag
      &quot;clickThrough&quot;: True or False, # Whether this tag is applicable only for click-throughs.
      &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.
      &quot;dynamicTag&quot;: { # Dynamic Tag # Dynamic floodlight tag.
        &quot;id&quot;: &quot;A String&quot;, # ID of this dynamic tag. This is a read-only, auto-generated field.
        &quot;name&quot;: &quot;A String&quot;, # Name of this tag.
        &quot;tag&quot;: &quot;A String&quot;, # Tag code.
      },
      &quot;siteId&quot;: &quot;A String&quot;, # Site ID of this dynamic tag.
      &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
        &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
        &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
        &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
        &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
        &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
        &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
      },
      &quot;viewThrough&quot;: True or False, # Whether this tag is applicable only for view-throughs.
    },
  ],
  &quot;secure&quot;: True or False, # Whether this tag should use SSL.
  &quot;sslCompliant&quot;: True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.
  &quot;sslRequired&quot;: True or False, # Whether this floodlight activity must be SSL-compliant.
  &quot;status&quot;: &quot;A String&quot;, # The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information.
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.
  &quot;tagFormat&quot;: &quot;A String&quot;, # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.
  &quot;tagString&quot;: &quot;A String&quot;, # Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.
  &quot;userDefinedVariableTypes&quot;: [ # List of the user-defined variables used by this conversion tag. These map to the &quot;u[1-100]=&quot; in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive.
    &quot;A String&quot;,
  ],
}</pre>
</div>

<div class="method">
    <code class="details" id="update">update(profileId, body=None, x__xgafv=None)</code>
  <pre>Updates an existing floodlight activity.

Args:
  profileId: string, User profile ID associated with this request. (required)
  body: object, The request body.
    The object takes the form of:

{ # Contains properties of a Floodlight activity.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this floodlight activity. This is a read-only field that can be left blank.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group&#x27;s advertiser or the existing activity&#x27;s advertiser.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;attributionEnabled&quot;: True or False, # Whether the activity is enabled for attribution.
  &quot;cacheBustingType&quot;: &quot;A String&quot;, # Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING.
  &quot;conversionCategory&quot;: &quot;A String&quot;, # Required. The conversion category of the activity.
  &quot;countingMethod&quot;: &quot;A String&quot;, # Counting method for conversions for this floodlight activity. This is a required field.
  &quot;defaultTags&quot;: [ # Dynamic floodlight tags.
    { # Dynamic Tag
      &quot;id&quot;: &quot;A String&quot;, # ID of this dynamic tag. This is a read-only, auto-generated field.
      &quot;name&quot;: &quot;A String&quot;, # Name of this tag.
      &quot;tag&quot;: &quot;A String&quot;, # Tag code.
    },
  ],
  &quot;expectedUrl&quot;: &quot;A String&quot;, # URL where this tag will be deployed. If specified, must be less than 256 characters long.
  &quot;floodlightActivityGroupId&quot;: &quot;A String&quot;, # Floodlight activity group ID of this floodlight activity. This is a required field.
  &quot;floodlightActivityGroupName&quot;: &quot;A String&quot;, # Name of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightActivityGroupTagString&quot;: &quot;A String&quot;, # Tag string of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightActivityGroupType&quot;: &quot;A String&quot;, # Type of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightConfigurationId&quot;: &quot;A String&quot;, # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group&#x27;s floodlight configuration or from the existing activity&#x27;s floodlight configuration.
  &quot;floodlightConfigurationIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;floodlightTagType&quot;: &quot;A String&quot;, # The type of Floodlight tag this activity will generate. This is a required field.
  &quot;id&quot;: &quot;A String&quot;, # ID of this floodlight activity. This is a read-only, auto-generated field.
  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#floodlightActivity&quot;.
  &quot;name&quot;: &quot;A String&quot;, # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.
  &quot;notes&quot;: &quot;A String&quot;, # General notes or implementation instructions for the tag.
  &quot;publisherTags&quot;: [ # Publisher dynamic floodlight tags.
    { # Publisher Dynamic Tag
      &quot;clickThrough&quot;: True or False, # Whether this tag is applicable only for click-throughs.
      &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.
      &quot;dynamicTag&quot;: { # Dynamic Tag # Dynamic floodlight tag.
        &quot;id&quot;: &quot;A String&quot;, # ID of this dynamic tag. This is a read-only, auto-generated field.
        &quot;name&quot;: &quot;A String&quot;, # Name of this tag.
        &quot;tag&quot;: &quot;A String&quot;, # Tag code.
      },
      &quot;siteId&quot;: &quot;A String&quot;, # Site ID of this dynamic tag.
      &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
        &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
        &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
        &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
        &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
        &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
        &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
      },
      &quot;viewThrough&quot;: True or False, # Whether this tag is applicable only for view-throughs.
    },
  ],
  &quot;secure&quot;: True or False, # Whether this tag should use SSL.
  &quot;sslCompliant&quot;: True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.
  &quot;sslRequired&quot;: True or False, # Whether this floodlight activity must be SSL-compliant.
  &quot;status&quot;: &quot;A String&quot;, # The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information.
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.
  &quot;tagFormat&quot;: &quot;A String&quot;, # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.
  &quot;tagString&quot;: &quot;A String&quot;, # Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.
  &quot;userDefinedVariableTypes&quot;: [ # List of the user-defined variables used by this conversion tag. These map to the &quot;u[1-100]=&quot; in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive.
    &quot;A String&quot;,
  ],
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Contains properties of a Floodlight activity.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this floodlight activity. This is a read-only field that can be left blank.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group&#x27;s advertiser or the existing activity&#x27;s advertiser.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;attributionEnabled&quot;: True or False, # Whether the activity is enabled for attribution.
  &quot;cacheBustingType&quot;: &quot;A String&quot;, # Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING.
  &quot;conversionCategory&quot;: &quot;A String&quot;, # Required. The conversion category of the activity.
  &quot;countingMethod&quot;: &quot;A String&quot;, # Counting method for conversions for this floodlight activity. This is a required field.
  &quot;defaultTags&quot;: [ # Dynamic floodlight tags.
    { # Dynamic Tag
      &quot;id&quot;: &quot;A String&quot;, # ID of this dynamic tag. This is a read-only, auto-generated field.
      &quot;name&quot;: &quot;A String&quot;, # Name of this tag.
      &quot;tag&quot;: &quot;A String&quot;, # Tag code.
    },
  ],
  &quot;expectedUrl&quot;: &quot;A String&quot;, # URL where this tag will be deployed. If specified, must be less than 256 characters long.
  &quot;floodlightActivityGroupId&quot;: &quot;A String&quot;, # Floodlight activity group ID of this floodlight activity. This is a required field.
  &quot;floodlightActivityGroupName&quot;: &quot;A String&quot;, # Name of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightActivityGroupTagString&quot;: &quot;A String&quot;, # Tag string of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightActivityGroupType&quot;: &quot;A String&quot;, # Type of the associated floodlight activity group. This is a read-only field.
  &quot;floodlightConfigurationId&quot;: &quot;A String&quot;, # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group&#x27;s floodlight configuration or from the existing activity&#x27;s floodlight configuration.
  &quot;floodlightConfigurationIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;floodlightTagType&quot;: &quot;A String&quot;, # The type of Floodlight tag this activity will generate. This is a required field.
  &quot;id&quot;: &quot;A String&quot;, # ID of this floodlight activity. This is a read-only, auto-generated field.
  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#floodlightActivity&quot;.
  &quot;name&quot;: &quot;A String&quot;, # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.
  &quot;notes&quot;: &quot;A String&quot;, # General notes or implementation instructions for the tag.
  &quot;publisherTags&quot;: [ # Publisher dynamic floodlight tags.
    { # Publisher Dynamic Tag
      &quot;clickThrough&quot;: True or False, # Whether this tag is applicable only for click-throughs.
      &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.
      &quot;dynamicTag&quot;: { # Dynamic Tag # Dynamic floodlight tag.
        &quot;id&quot;: &quot;A String&quot;, # ID of this dynamic tag. This is a read-only, auto-generated field.
        &quot;name&quot;: &quot;A String&quot;, # Name of this tag.
        &quot;tag&quot;: &quot;A String&quot;, # Tag code.
      },
      &quot;siteId&quot;: &quot;A String&quot;, # Site ID of this dynamic tag.
      &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
        &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
        &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
        &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
        &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
        &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
        &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
      },
      &quot;viewThrough&quot;: True or False, # Whether this tag is applicable only for view-throughs.
    },
  ],
  &quot;secure&quot;: True or False, # Whether this tag should use SSL.
  &quot;sslCompliant&quot;: True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.
  &quot;sslRequired&quot;: True or False, # Whether this floodlight activity must be SSL-compliant.
  &quot;status&quot;: &quot;A String&quot;, # The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information.
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.
  &quot;tagFormat&quot;: &quot;A String&quot;, # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.
  &quot;tagString&quot;: &quot;A String&quot;, # Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.
  &quot;userDefinedVariableTypes&quot;: [ # List of the user-defined variables used by this conversion tag. These map to the &quot;u[1-100]=&quot; in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive.
    &quot;A String&quot;,
  ],
}</pre>
</div>

</body></html>